using System.Collections.Generic;

namespace Mall.Api.Entity
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class Users : BaseEntity
    {

        public string Nickname { get; set; }
        public string Username { get; set; }

        public string Password { get; set; }
        
        //角色ID
        public int RolesId { get; set; }
        //余额
        public double Balance { get; set; }

        public string Txcolor { get; set; }
        public string Bgcolor { get; set; }

        public virtual IEnumerable<Comments> Comments { get; set; }
        public virtual IEnumerable<GoodsReceivingInformation> GoodsReceivingInformation { get; set; }

        public virtual IEnumerable<UserOrder> UserOrder { get; set; }
        public virtual IEnumerable<UserShoppingTrolley> UserShoppingTrolley { get; set; }
        public virtual Roles Roles { get; set; }
    }
}